<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DM-CtrlH7-BF-DevProgram: SPI Private Macros</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="50x5.png"/></td>
  <td id="projectalign">
   <div id="projectname">DM-CtrlH7-BF-DevProgram<span id="projectnumber">&#160;beta 0.1</span>
   </div>
   <div id="projectbrief">C.ONE Studio Damiao Development Board Framework</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search',true);
  $(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(function(){initNavTree('group___s_p_i___private___macros.html','',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">SPI Private Macros <div class="ingroups"><a class="el" href="group___s_t_m32_h7xx___h_a_l___driver.html">STM32H7xx_HAL_Driver</a> &raquo; <a class="el" href="group___s_p_i.html">SPI</a></div></div></div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 id="header-define-members" class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gae3b2eb5e818e58b66474d42dedac5523" id="r_gae3b2eb5e818e58b66474d42dedac5523"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gae3b2eb5e818e58b66474d42dedac5523">SPI_1LINE_TX</a>(__HANDLE__)</td></tr>
<tr class="memdesc:gae3b2eb5e818e58b66474d42dedac5523"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the SPI transmit-only mode in 1Line configuration.  <br /></td></tr>
<tr class="memitem:gaa8d58cef91c1874d5a4dde4014cf6269" id="r_gaa8d58cef91c1874d5a4dde4014cf6269"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaa8d58cef91c1874d5a4dde4014cf6269">SPI_1LINE_RX</a>(__HANDLE__)</td></tr>
<tr class="memdesc:gaa8d58cef91c1874d5a4dde4014cf6269"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the SPI receive-only mode in 1Line configuration.  <br /></td></tr>
<tr class="memitem:ga2e139e6f86af7b6f2690e679b0303162" id="r_ga2e139e6f86af7b6f2690e679b0303162"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga2e139e6f86af7b6f2690e679b0303162">SPI_2LINES_TX</a>(__HANDLE__)</td></tr>
<tr class="memdesc:ga2e139e6f86af7b6f2690e679b0303162"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the SPI transmit-only mode in 2Lines configuration.  <br /></td></tr>
<tr class="memitem:ga39089f4a0d840c0748936a574142c8fa" id="r_ga39089f4a0d840c0748936a574142c8fa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga39089f4a0d840c0748936a574142c8fa">SPI_2LINES_RX</a>(__HANDLE__)</td></tr>
<tr class="memdesc:ga39089f4a0d840c0748936a574142c8fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the SPI receive-only mode in 2Lines configuration.  <br /></td></tr>
<tr class="memitem:ga5ff90af4675f015852b14e755ce79e08" id="r_ga5ff90af4675f015852b14e755ce79e08"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga5ff90af4675f015852b14e755ce79e08">SPI_2LINES</a>(__HANDLE__)</td></tr>
<tr class="memdesc:ga5ff90af4675f015852b14e755ce79e08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the SPI Transmit-Receive mode in 2Lines configuration.  <br /></td></tr>
<tr class="memitem:gad5135300763c75dbb446861536359f12" id="r_gad5135300763c75dbb446861536359f12"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gad5135300763c75dbb446861536359f12">IS_SPI_MODE</a>(MODE)</td></tr>
<tr class="memitem:ga8ce4827db741ff965ea0cb1c105b00d5" id="r_ga8ce4827db741ff965ea0cb1c105b00d5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga8ce4827db741ff965ea0cb1c105b00d5">IS_SPI_DIRECTION</a>(MODE)</td></tr>
<tr class="memitem:ga79454622381b22d02c8cdd3346c80f78" id="r_ga79454622381b22d02c8cdd3346c80f78"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga79454622381b22d02c8cdd3346c80f78">IS_SPI_DIRECTION_2LINES</a>(MODE)</td></tr>
<tr class="memitem:ga28006c88236f1a94f4e69d9d868f21fe" id="r_ga28006c88236f1a94f4e69d9d868f21fe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga28006c88236f1a94f4e69d9d868f21fe">IS_SPI_DIRECTION_2LINES_OR_1LINE_2LINES_TXONLY</a>(MODE)</td></tr>
<tr class="memitem:gad0d8a45ecf7ef088463d1b818bd09826" id="r_gad0d8a45ecf7ef088463d1b818bd09826"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gad0d8a45ecf7ef088463d1b818bd09826">IS_SPI_DIRECTION_2LINES_OR_1LINE_2LINES_RXONLY</a>(MODE)</td></tr>
<tr class="memitem:gab6f9f528f7eb70373b9caf3548e44e67" id="r_gab6f9f528f7eb70373b9caf3548e44e67"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gab6f9f528f7eb70373b9caf3548e44e67">IS_SPI_DATASIZE</a>(DATASIZE)</td></tr>
<tr class="memitem:ga3f1e514b528933ad992018edcf97e23b" id="r_ga3f1e514b528933ad992018edcf97e23b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga3f1e514b528933ad992018edcf97e23b">IS_SPI_FIFOTHRESHOLD</a>(THRESHOLD)</td></tr>
<tr class="memitem:gafc1cc5b1ff7e801a409a7a1e6047acf9" id="r_gafc1cc5b1ff7e801a409a7a1e6047acf9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gafc1cc5b1ff7e801a409a7a1e6047acf9">IS_SPI_CPOL</a>(CPOL)</td></tr>
<tr class="memitem:ga6441f08edf79dd5b243c54b888d3cbf7" id="r_ga6441f08edf79dd5b243c54b888d3cbf7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga6441f08edf79dd5b243c54b888d3cbf7">IS_SPI_CPHA</a>(CPHA)</td></tr>
<tr class="memitem:gabbeedf42eccef1bae4f88c606fc3b261" id="r_gabbeedf42eccef1bae4f88c606fc3b261"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gabbeedf42eccef1bae4f88c606fc3b261">IS_SPI_NSS</a>(NSS)</td></tr>
<tr class="memitem:ga9bbb9935c81663db6b96a2cb08ef6006" id="r_ga9bbb9935c81663db6b96a2cb08ef6006"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga9bbb9935c81663db6b96a2cb08ef6006">IS_SPI_NSSP</a>(NSSP)</td></tr>
<tr class="memitem:gae79f46ed9f91e39dc1f6912cb25fc716" id="r_gae79f46ed9f91e39dc1f6912cb25fc716"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gae79f46ed9f91e39dc1f6912cb25fc716">IS_SPI_BAUDRATE_PRESCALER</a>(PRESCALER)</td></tr>
<tr class="memitem:gabee8e0302741f4a5c41b96af640c63ad" id="r_gabee8e0302741f4a5c41b96af640c63ad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gabee8e0302741f4a5c41b96af640c63ad">IS_SPI_FIRST_BIT</a>(BIT)</td></tr>
<tr class="memitem:ga812f7bf5919bc6e45727d6ac05c60b49" id="r_ga812f7bf5919bc6e45727d6ac05c60b49"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga812f7bf5919bc6e45727d6ac05c60b49">IS_SPI_TIMODE</a>(MODE)</td></tr>
<tr class="memitem:ga96e66460d09a553fd9996c53dcc4b252" id="r_ga96e66460d09a553fd9996c53dcc4b252"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga96e66460d09a553fd9996c53dcc4b252">IS_SPI_CRC_CALCULATION</a>(CALCULATION)</td></tr>
<tr class="memitem:gad39542cb3b654effe9c4e3d8079884ba" id="r_gad39542cb3b654effe9c4e3d8079884ba"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gad39542cb3b654effe9c4e3d8079884ba">IS_SPI_CRC_INITIALIZATION_PATTERN</a>(PATTERN)</td></tr>
<tr class="memitem:ga393003a5b035758f07c7243738c5f463" id="r_ga393003a5b035758f07c7243738c5f463"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga393003a5b035758f07c7243738c5f463">IS_SPI_CRC_LENGTH</a>(LENGTH)</td></tr>
<tr class="memitem:ga76eec5bbb44c873aa52966a9cb6c8f8c" id="r_ga76eec5bbb44c873aa52966a9cb6c8f8c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga76eec5bbb44c873aa52966a9cb6c8f8c">IS_SPI_CRC_POLYNOMIAL</a>(POLYNOMIAL)</td></tr>
<tr class="memitem:ga9bc863efd4059e29b055978c9eb36909" id="r_ga9bc863efd4059e29b055978c9eb36909"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga9bc863efd4059e29b055978c9eb36909">IS_SPI_CRC_POLYNOMIAL_SIZE</a>(POLYNOM,  LENGTH)</td></tr>
<tr class="memitem:ga17f299bb0d8e36dbeb43457a7c521328" id="r_ga17f299bb0d8e36dbeb43457a7c521328"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga17f299bb0d8e36dbeb43457a7c521328">IS_SPI_UNDERRUN_DETECTION</a>(MODE)</td></tr>
<tr class="memitem:gaa3d1fe42e2147532ac110d26904ebd32" id="r_gaa3d1fe42e2147532ac110d26904ebd32"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaa3d1fe42e2147532ac110d26904ebd32">IS_SPI_UNDERRUN_BEHAVIOUR</a>(MODE)</td></tr>
<tr class="memitem:ga5810568855b1df12700af47c4c4fad61" id="r_ga5810568855b1df12700af47c4c4fad61"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga5810568855b1df12700af47c4c4fad61">IS_SPI_MASTER_RX_AUTOSUSP</a>(MODE)</td></tr>
</table>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<a name="doc-define-members" id="doc-define-members"></a><h2 id="header-doc-define-members" class="groupheader">Macro Definition Documentation</h2>
<a id="gae79f46ed9f91e39dc1f6912cb25fc716" name="gae79f46ed9f91e39dc1f6912cb25fc716"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae79f46ed9f91e39dc1f6912cb25fc716">&#9670;&#160;</a></span>IS_SPI_BAUDRATE_PRESCALER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_BAUDRATE_PRESCALER</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>PRESCALER</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((PRESCALER) == SPI_BAUDRATEPRESCALER_2)      || \</div>
<div class="line">                                                    ((PRESCALER) == SPI_BAUDRATEPRESCALER_4)      || \</div>
<div class="line">                                                    ((PRESCALER) == SPI_BAUDRATEPRESCALER_8)      || \</div>
<div class="line">                                                    ((PRESCALER) == SPI_BAUDRATEPRESCALER_16)     || \</div>
<div class="line">                                                    ((PRESCALER) == SPI_BAUDRATEPRESCALER_32)     || \</div>
<div class="line">                                                    ((PRESCALER) == SPI_BAUDRATEPRESCALER_64)     || \</div>
<div class="line">                                                    ((PRESCALER) == SPI_BAUDRATEPRESCALER_128)    || \</div>
<div class="line">                                                    ((PRESCALER) == SPI_BAUDRATEPRESCALER_256))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga6441f08edf79dd5b243c54b888d3cbf7" name="ga6441f08edf79dd5b243c54b888d3cbf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6441f08edf79dd5b243c54b888d3cbf7">&#9670;&#160;</a></span>IS_SPI_CPHA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_CPHA</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>CPHA</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((CPHA) == SPI_PHASE_1EDGE) || \</div>
<div class="line">                                                    ((CPHA) == SPI_PHASE_2EDGE))</div>
</div><!-- fragment -->
</div>
</div>
<a id="gafc1cc5b1ff7e801a409a7a1e6047acf9" name="gafc1cc5b1ff7e801a409a7a1e6047acf9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafc1cc5b1ff7e801a409a7a1e6047acf9">&#9670;&#160;</a></span>IS_SPI_CPOL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_CPOL</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>CPOL</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((CPOL) == SPI_POLARITY_LOW) || \</div>
<div class="line">                                                    ((CPOL) == SPI_POLARITY_HIGH))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga96e66460d09a553fd9996c53dcc4b252" name="ga96e66460d09a553fd9996c53dcc4b252"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga96e66460d09a553fd9996c53dcc4b252">&#9670;&#160;</a></span>IS_SPI_CRC_CALCULATION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_CRC_CALCULATION</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>CALCULATION</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((CALCULATION) == SPI_CRCCALCULATION_DISABLE) || \</div>
<div class="line">                                                    ((CALCULATION) == SPI_CRCCALCULATION_ENABLE))</div>
</div><!-- fragment -->
</div>
</div>
<a id="gad39542cb3b654effe9c4e3d8079884ba" name="gad39542cb3b654effe9c4e3d8079884ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad39542cb3b654effe9c4e3d8079884ba">&#9670;&#160;</a></span>IS_SPI_CRC_INITIALIZATION_PATTERN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_CRC_INITIALIZATION_PATTERN</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>PATTERN</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((PATTERN) == SPI_CRC_INITIALIZATION_ALL_ZERO_PATTERN) || \</div>
<div class="line">                                                    ((PATTERN) == SPI_CRC_INITIALIZATION_ALL_ONE_PATTERN))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga393003a5b035758f07c7243738c5f463" name="ga393003a5b035758f07c7243738c5f463"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga393003a5b035758f07c7243738c5f463">&#9670;&#160;</a></span>IS_SPI_CRC_LENGTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_CRC_LENGTH</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>LENGTH</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((LENGTH) == SPI_CRC_LENGTH_DATASIZE) || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_32BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_31BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_30BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_29BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_28BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_27BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_26BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_25BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_24BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_23BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_22BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_21BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_20BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_19BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_18BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_17BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_16BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_15BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_14BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_13BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_12BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_11BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_10BIT)    || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_9BIT)     || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_8BIT)     || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_7BIT)     || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_6BIT)     || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_5BIT)     || \</div>
<div class="line">                                                    ((LENGTH) == SPI_CRC_LENGTH_4BIT))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga76eec5bbb44c873aa52966a9cb6c8f8c" name="ga76eec5bbb44c873aa52966a9cb6c8f8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga76eec5bbb44c873aa52966a9cb6c8f8c">&#9670;&#160;</a></span>IS_SPI_CRC_POLYNOMIAL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_CRC_POLYNOMIAL</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>POLYNOMIAL</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((POLYNOMIAL) &gt; 0x0UL)</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga9bc863efd4059e29b055978c9eb36909" name="ga9bc863efd4059e29b055978c9eb36909"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9bc863efd4059e29b055978c9eb36909">&#9670;&#160;</a></span>IS_SPI_CRC_POLYNOMIAL_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_CRC_POLYNOMIAL_SIZE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>POLYNOM</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>LENGTH</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">(((POLYNOM) &gt;&gt; (((LENGTH) &gt;&gt; SPI_CFG1_CRCSIZE_Pos) + 1UL)) == 0UL)</div>
</div><!-- fragment -->
</div>
</div>
<a id="gab6f9f528f7eb70373b9caf3548e44e67" name="gab6f9f528f7eb70373b9caf3548e44e67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab6f9f528f7eb70373b9caf3548e44e67">&#9670;&#160;</a></span>IS_SPI_DATASIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_DATASIZE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>DATASIZE</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((DATASIZE) == SPI_DATASIZE_32BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_31BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_30BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_29BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_28BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_27BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_26BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_25BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_24BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_23BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_22BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_21BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_20BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_22BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_19BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_18BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_17BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_16BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_15BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_14BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_13BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_12BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_11BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_10BIT) || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_9BIT)  || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_8BIT)  || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_7BIT)  || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_6BIT)  || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_5BIT)  || \</div>
<div class="line">                                                    ((DATASIZE) == SPI_DATASIZE_4BIT))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga8ce4827db741ff965ea0cb1c105b00d5" name="ga8ce4827db741ff965ea0cb1c105b00d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8ce4827db741ff965ea0cb1c105b00d5">&#9670;&#160;</a></span>IS_SPI_DIRECTION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_DIRECTION</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>MODE</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((MODE) == SPI_DIRECTION_2LINES)        || \</div>
<div class="line">                                                    ((MODE) == SPI_DIRECTION_2LINES_RXONLY) || \</div>
<div class="line">                                                    ((MODE) == SPI_DIRECTION_1LINE)         || \</div>
<div class="line">                                                    ((MODE) == SPI_DIRECTION_2LINES_TXONLY))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga79454622381b22d02c8cdd3346c80f78" name="ga79454622381b22d02c8cdd3346c80f78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga79454622381b22d02c8cdd3346c80f78">&#9670;&#160;</a></span>IS_SPI_DIRECTION_2LINES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_DIRECTION_2LINES</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>MODE</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((MODE) == SPI_DIRECTION_2LINES)</div>
</div><!-- fragment -->
</div>
</div>
<a id="gad0d8a45ecf7ef088463d1b818bd09826" name="gad0d8a45ecf7ef088463d1b818bd09826"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad0d8a45ecf7ef088463d1b818bd09826">&#9670;&#160;</a></span>IS_SPI_DIRECTION_2LINES_OR_1LINE_2LINES_RXONLY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_DIRECTION_2LINES_OR_1LINE_2LINES_RXONLY</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>MODE</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                              (((MODE) == SPI_DIRECTION_2LINES)|| \</div>
<div class="line">                                                              ((MODE) == SPI_DIRECTION_1LINE) || \</div>
<div class="line">                                                              ((MODE) == SPI_DIRECTION_2LINES_RXONLY))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga28006c88236f1a94f4e69d9d868f21fe" name="ga28006c88236f1a94f4e69d9d868f21fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga28006c88236f1a94f4e69d9d868f21fe">&#9670;&#160;</a></span>IS_SPI_DIRECTION_2LINES_OR_1LINE_2LINES_TXONLY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_DIRECTION_2LINES_OR_1LINE_2LINES_TXONLY</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>MODE</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                              (((MODE) == SPI_DIRECTION_2LINES)|| \</div>
<div class="line">                                                              ((MODE) == SPI_DIRECTION_1LINE) || \</div>
<div class="line">                                                              ((MODE) == SPI_DIRECTION_2LINES_TXONLY))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga3f1e514b528933ad992018edcf97e23b" name="ga3f1e514b528933ad992018edcf97e23b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3f1e514b528933ad992018edcf97e23b">&#9670;&#160;</a></span>IS_SPI_FIFOTHRESHOLD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_FIFOTHRESHOLD</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>THRESHOLD</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((THRESHOLD) == SPI_FIFO_THRESHOLD_01DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_02DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_03DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_04DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_05DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_06DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_07DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_08DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_09DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_10DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_11DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_12DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_13DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_14DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_15DATA) || \</div>
<div class="line">                                                    ((THRESHOLD) == SPI_FIFO_THRESHOLD_16DATA))</div>
</div><!-- fragment -->
</div>
</div>
<a id="gabee8e0302741f4a5c41b96af640c63ad" name="gabee8e0302741f4a5c41b96af640c63ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabee8e0302741f4a5c41b96af640c63ad">&#9670;&#160;</a></span>IS_SPI_FIRST_BIT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_FIRST_BIT</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>BIT</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((BIT) == SPI_FIRSTBIT_MSB) || \</div>
<div class="line">                                                    ((BIT) == SPI_FIRSTBIT_LSB))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga5810568855b1df12700af47c4c4fad61" name="ga5810568855b1df12700af47c4c4fad61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5810568855b1df12700af47c4c4fad61">&#9670;&#160;</a></span>IS_SPI_MASTER_RX_AUTOSUSP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_MASTER_RX_AUTOSUSP</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>MODE</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((MODE) == SPI_MASTER_RX_AUTOSUSP_DISABLE) || \</div>
<div class="line">                                                    ((MODE) == SPI_MASTER_RX_AUTOSUSP_ENABLE))</div>
</div><!-- fragment -->
</div>
</div>
<a id="gad5135300763c75dbb446861536359f12" name="gad5135300763c75dbb446861536359f12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad5135300763c75dbb446861536359f12">&#9670;&#160;</a></span>IS_SPI_MODE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_MODE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>MODE</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((MODE) == SPI_MODE_SLAVE) || \</div>
<div class="line">                                                    ((MODE) == SPI_MODE_MASTER))</div>
</div><!-- fragment -->
</div>
</div>
<a id="gabbeedf42eccef1bae4f88c606fc3b261" name="gabbeedf42eccef1bae4f88c606fc3b261"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabbeedf42eccef1bae4f88c606fc3b261">&#9670;&#160;</a></span>IS_SPI_NSS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_NSS</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>NSS</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((NSS) == SPI_NSS_SOFT)       || \</div>
<div class="line">                                                    ((NSS) == SPI_NSS_HARD_INPUT) || \</div>
<div class="line">                                                    ((NSS) == SPI_NSS_HARD_OUTPUT))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga9bbb9935c81663db6b96a2cb08ef6006" name="ga9bbb9935c81663db6b96a2cb08ef6006"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9bbb9935c81663db6b96a2cb08ef6006">&#9670;&#160;</a></span>IS_SPI_NSSP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_NSSP</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>NSSP</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((NSSP) == SPI_NSS_PULSE_ENABLE) || \</div>
<div class="line">                                                    ((NSSP) == SPI_NSS_PULSE_DISABLE))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga812f7bf5919bc6e45727d6ac05c60b49" name="ga812f7bf5919bc6e45727d6ac05c60b49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga812f7bf5919bc6e45727d6ac05c60b49">&#9670;&#160;</a></span>IS_SPI_TIMODE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_TIMODE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>MODE</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((MODE) == SPI_TIMODE_DISABLE) || \</div>
<div class="line">                                                    ((MODE) == SPI_TIMODE_ENABLE))</div>
</div><!-- fragment -->
</div>
</div>
<a id="gaa3d1fe42e2147532ac110d26904ebd32" name="gaa3d1fe42e2147532ac110d26904ebd32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa3d1fe42e2147532ac110d26904ebd32">&#9670;&#160;</a></span>IS_SPI_UNDERRUN_BEHAVIOUR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_UNDERRUN_BEHAVIOUR</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>MODE</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((MODE) == SPI_UNDERRUN_BEHAV_REGISTER_PATTERN) || \</div>
<div class="line">                                                    ((MODE) == SPI_UNDERRUN_BEHAV_LAST_RECEIVED)    || \</div>
<div class="line">                                                    ((MODE) == SPI_UNDERRUN_BEHAV_LAST_TRANSMITTED))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga17f299bb0d8e36dbeb43457a7c521328" name="ga17f299bb0d8e36dbeb43457a7c521328"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga17f299bb0d8e36dbeb43457a7c521328">&#9670;&#160;</a></span>IS_SPI_UNDERRUN_DETECTION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_SPI_UNDERRUN_DETECTION</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>MODE</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    (((MODE) == SPI_UNDERRUN_DETECT_BEGIN_DATA_FRAME) || \</div>
<div class="line">                                                    ((MODE) == SPI_UNDERRUN_DETECT_END_DATA_FRAME)   || \</div>
<div class="line">                                                    ((MODE) == SPI_UNDERRUN_DETECT_BEGIN_ACTIVE_NSS))</div>
</div><!-- fragment -->
</div>
</div>
<a id="gaa8d58cef91c1874d5a4dde4014cf6269" name="gaa8d58cef91c1874d5a4dde4014cf6269"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa8d58cef91c1874d5a4dde4014cf6269">&#9670;&#160;</a></span>SPI_1LINE_RX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SPI_1LINE_RX</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">CLEAR_BIT((__HANDLE__)-&gt;Instance-&gt;CR1, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga71105846351660951df077c563a0a437">SPI_CR1_HDDIR</a>)</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga71105846351660951df077c563a0a437"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga71105846351660951df077c563a0a437">SPI_CR1_HDDIR</a></div><div class="ttdeci">#define SPI_CR1_HDDIR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18384</div></div>
</div><!-- fragment -->
<p>Set the SPI receive-only mode in 1Line configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gae3b2eb5e818e58b66474d42dedac5523" name="gae3b2eb5e818e58b66474d42dedac5523"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae3b2eb5e818e58b66474d42dedac5523">&#9670;&#160;</a></span>SPI_1LINE_TX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SPI_1LINE_TX</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">SET_BIT((__HANDLE__)-&gt;Instance-&gt;CR1, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga71105846351660951df077c563a0a437">SPI_CR1_HDDIR</a>)</div>
</div><!-- fragment -->
<p>Set the SPI transmit-only mode in 1Line configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga5ff90af4675f015852b14e755ce79e08" name="ga5ff90af4675f015852b14e755ce79e08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5ff90af4675f015852b14e755ce79e08">&#9670;&#160;</a></span>SPI_2LINES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SPI_2LINES</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">MODIFY_REG((__HANDLE__)-&gt;Instance-&gt;CFG2, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1b7bf18425d7ade65a2e772fde619bf1">SPI_CFG2_COMM</a>, 0x00000000UL)</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga1b7bf18425d7ade65a2e772fde619bf1"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga1b7bf18425d7ade65a2e772fde619bf1">SPI_CFG2_COMM</a></div><div class="ttdeci">#define SPI_CFG2_COMM</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18490</div></div>
</div><!-- fragment -->
<p>Set the SPI Transmit-Receive mode in 2Lines configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga39089f4a0d840c0748936a574142c8fa" name="ga39089f4a0d840c0748936a574142c8fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga39089f4a0d840c0748936a574142c8fa">&#9670;&#160;</a></span>SPI_2LINES_RX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SPI_2LINES_RX</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">MODIFY_REG((__HANDLE__)-&gt;Instance-&gt;CFG2, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1b7bf18425d7ade65a2e772fde619bf1">SPI_CFG2_COMM</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga8577b6cfe88294c5f4326d795338b252">SPI_CFG2_COMM_1</a>)</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga8577b6cfe88294c5f4326d795338b252"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga8577b6cfe88294c5f4326d795338b252">SPI_CFG2_COMM_1</a></div><div class="ttdeci">#define SPI_CFG2_COMM_1</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18492</div></div>
</div><!-- fragment -->
<p>Set the SPI receive-only mode in 2Lines configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga2e139e6f86af7b6f2690e679b0303162" name="ga2e139e6f86af7b6f2690e679b0303162"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2e139e6f86af7b6f2690e679b0303162">&#9670;&#160;</a></span>SPI_2LINES_TX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SPI_2LINES_TX</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">MODIFY_REG((__HANDLE__)-&gt;Instance-&gt;CFG2, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1b7bf18425d7ade65a2e772fde619bf1">SPI_CFG2_COMM</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gab19c27afabbaf50a9e02e2aa0f489383">SPI_CFG2_COMM_0</a>)</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gab19c27afabbaf50a9e02e2aa0f489383"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gab19c27afabbaf50a9e02e2aa0f489383">SPI_CFG2_COMM_0</a></div><div class="ttdeci">#define SPI_CFG2_COMM_0</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18491</div></div>
</div><!-- fragment -->
<p>Set the SPI transmit-only mode in 2Lines configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.14.0 </li>
  </ul>
</div>
</body>
</html>
